package com.aracky.system.model.vo;

import com.aracky.common.entitybase.BaseCommonVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * <p>
 * 查询表头信息表
 * </p>
 *
 * @author zengzhiping
 * @since 2022-07-18 10:05:43
 */
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SysTableHeaderVO extends BaseCommonVO {

    @ApiModelProperty("表头ID,新增不传")
    private Long headId;

    @ApiModelProperty("菜单父id")
    private Long parentId;

    @ApiModelProperty("表名")
    private String tableName;

    @ApiModelProperty("说明")
    private String instruction;

    @ApiModelProperty("查询api")
    private String queryApi;

    @ApiModelProperty("请求方法")
    private String qureyMethod;

    @ApiModelProperty("主键")
    private String headPrimary;

    @ApiModelProperty("外键")
    private String headForeignKey;

    @ApiModelProperty("是否开启表格合并")
    private Boolean isTableMerge;

    @ApiModelProperty("合并标志")
    private String mergeKey;

    @ApiModelProperty("表字段集合")
    private List<SysTableLineVO> SysTableLineList;
}
